package com.jquest.layer;

import org.newdawn.slick.SpriteSheet;
import org.newdawn.slick.Graphics;
import com.jquest.data.Tile;

/**
 * Created by IntelliJ IDEA.
 * User: Johan
 * Date: 2009-dec-11
 * Time: 03:28:29
 * To change this template use File | Settings | File Templates.
 */
public abstract class MapLayer {

    private boolean isEnabled = true;

    public MapLayer() {

    }

    public boolean isEnabled() {
        return isEnabled;
    }

    public void setEnabled(boolean isEnabled) {
        this.isEnabled = isEnabled;
    }

    public abstract void update(int time);
    public abstract void render(Graphics g);

}
